import request from '@/utils/request/index.js'
export default {
	//查询需求列表点选关键字
	getSearchWordList(data){
		return request.request({
			url:"/h5/searchwordconfig/queryList",
			method:'post',
			data: {"relatedType" : 2} ,
		})
	},
	//查询需求分类列表
	getClassifyList(data){
		return request.request({
			url:"/h5/nocdemandclassify/queryAll",
			data: {} ,
		})
	},
	//查询需求列表
	getDemandList(data){
		return request.request({
			url:"/h5/nocdemand/phonelist",
			method:'post',
			data: data,
		})
	},
	getSearchKey(data) {
		return request.request({
			url: "/h5/searchkey/searchkeyList",
			method: 'post',
			data: data,
		})
	},
	del(){
		return request.request({
			url: "/h5/searchkey/delSearchHistory",
			method: 'post',
			data: {},
		})
	},
	getSearchProductClassify(){
		return request.request({
			url: "/h5/searchproductclassify/searchProClaList",
			method: 'post',
			data: {'exhibitionId':0},
		})
	}
	
}
